package com.loveprogrammer.dto.job;

import com.loveprogrammer.dto.base.RequestBase;
import lombok.Data;

/**
 * @ClassName Equips
 * @Description 装备情况
 * @Author admin
 * @Date 2024/2/28 9:44
 * @Version 1.0
 */
@Data
public class EquipsInfo extends RequestBase{

    public  String string ="\t\t\t\t\t\t\t\t\t";
    public  String tt ="\t\t";

    public EquipsInfo() {
    }

    // 装备的武器
    private Equip weapon;

    // 装备的戒指 左戒
    private Equip leftRing;

    // 装备的戒指 右戒
    private Equip rightRing;

    // 装备的护甲
    private Equip breastplate;

    // 装备的鞋
    private Equip shoes;

    // 装备的头盔
    private Equip helmet;

    // 装备的手套
    private Equip glove;

    // 装备的项链
    private Equip necklace;

    // 装备的腿甲
    private Equip legArmor;

    // 装备的腰带
    private Equip belt;

    // 装备的护壁
    private Equip barcer;

    // 装备的肩甲
    private Equip shoulder;

    // 装备的盾牌
    private Equip shield;


    public String prettyPrint() {
        return  string+"****装备信息**********************************************************\n"+
                tt + "武器：" + (getWeapon() == null ? "无" : getWeapon().toString()) +"\n"+
                tt + "盾牌：" + (getShield() == null ? "无" : getShield().toString()) +"\n"+
                tt + "胸甲：" + (getBreastplate() == null ? "无" : getBreastplate().toString()) +"\n"+
                tt + "头盔：" + (getHelmet() == null ? "无" : getHelmet().toString()) +"\n"+
                tt + "肩甲：" + (getShoulder() == null ? "无" : getShoulder().toString()) +"\n"+
                tt + "护壁：" + (getBarcer() == null ? "无" : getBarcer().toString()) +"\n"+
                tt + "手套：" + (getGlove() == null ? "无" : getGlove().toString()) +"\n"+
                tt + "腰带：" + (getBelt() == null ? "无" : getBelt().toString()) +"\n"+
                tt + "腿甲：" + (getLegArmor() == null ? "无" : getLegArmor().toString()) +"\n"+
                tt + "鞋子：" + (getShoes() == null ? "无" : getShoes().toString()) +"\n"+
                tt + "左戒：" + (getLeftRing() == null ? "无" : getLeftRing().toString()) +"\n"+
                tt + "右戒：" + (getRightRing() == null ? "无" : getRightRing().toString()) +"\n"+
                tt + "项链：" + (getNecklace() == null ? "无" : getNecklace().toString()) +"\n"+
                string+""+"************************************************************";
    }
}
